
package com.feib.soeasy.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.springframework.transaction.annotation.Transactional;

import com.feib.soeasy.model.Group;


/**
 * @title (#)Soez5003Service.java<br>
 * @description <br>
 * @author Jimmy Liu<br>
 * @version 1.0.0 2010/11/25
 * @copyright Far Eastern International Bank Copyright (c) 2010<br>
 * @2011/3/14 create by Jimmy Liu<br>
 */
@Transactional(readOnly = true)
public interface Soez5004Service {

    /**
     * @param group
     * @param qryDateType 資料期間基礎：1: 銷帳日期  2:實際繳款日。
     * @param dateFrom
     * @param dateTo
     * @return
     */
    public Map<String, List<Map<String, Object>> > queryForStatisticsList(Group group, Integer qryDateType, Date dateFrom, Date dateTo);

    /**
     * @param group
     * @param qryType
     * @param dateFrom
     * @param dateTo
     */
    public String doExportStatisticsXls(Group group, Integer qryType, Date dateFrom, Date dateTo) throws Exception;

    /**
     * @param group
     * @param qryType
     * @param dateFrom
     * @param dateTo
     * @return
     */
    public String doExportStatisticsHtml(Group group, Integer qryType, Date dateFrom, Date dateTo);

}
